package notes;

/**
 * Description:
 *
 * @Author cowen
 * @Create 2023/10/18 13:32
 * @Version 1.0
 */
class BasicType{
    public static void main(String[] args) {
        // 整型 byte short int long
        System.out.println("=========整型数据========");
        byte b1 =127;
        short s1 =124;
        int i1 = 120;
        long l1=12400L;
        System.out.println(b1);
        System.out.println(s1);
        System.out.println(i1);
        System.out.println(l1);

        // 浮点型数据
        System.out.println("=========浮点型数据========");
        double d1 =12.36;
        float f1 = 12.3f;
        System.out.println(d1);
        System.out.println(f1);
    }
}
